package oa.hleast.xswl.common.constant;

/**
 * @author 302
 * @description
 * @date 2021/3/15
 */
public class CommonConstant {

    // TODO 后面处理优化一下，前端直接判空从静态资源中取
    /**
     * 启动页的缺省默认页面
     */
    public static final String START_AD_DEFULT = "http://10.1.70.201:9009/default/b8399ee7a6134b578cf98d8a8f617e71.jpg";

    public static final int TIME_LENGTH_10 = 10;
    public static final int TIME_LENGTH_13 = 13;


    /**
     * 首页图标状态-展示
     */
    public static final Integer HOME_PAGE_ICON_DISPLAY = 1;


    /**
     * 首页瀑布流推荐 type
     */
    public static final String RECOMMEND_SELECT_TYPE = "RECOMMEND";

    /**
     * 咨询，前端需要的地址
     */
    public static final String INFORMATION_URL = "#/information/detail?id=";

    /**
     * 优惠活动 节庆活动，前端需要的地址
     */
    public static final String ACTIVITY_URL = "#/activity/detail?id=";

    /**
     * 地图的最大允许父级层级
     */
    public static final int MIX_PARENTS_PLACE_TYPE_LEVEL = 4;

    /**
     * 地图的最大允许层级 = 地图的最大允许父级层级  + 1
     */
    public static final int MIX_PLACE_TYPE_LEVEL = MIX_PARENTS_PLACE_TYPE_LEVEL + 1;

    /**
     * 地图的最大允许展示层级
     */
    public static final int MIX_SHOW_PLACE_TYPE_LEVEL = 5;

    /**
     * 咨询中心推荐使用的ID
     */
    public static final long INFORMATION_COMMEND_ID = 0L;

    /**
     * 字典项-旅游类型ID
     */
    public static final String TOURISM_TYPE_CODE = "tourism_type";

    /**
     * 字典项-游玩天数ID
     */
    public static final String DAY_NUM_CODE = "tourism_day_num";

    /**
     * 赏花地图有效打卡距离
     */
    public static final double DISTANCE_RANGE = 5000D;

    public static final long MINUTE_LONG_30 = 1000 * 60 * 30L;

    /**
     * 最大信用分
     */
    public static final Integer MAX_CREDIT_POINT = 1000;

    /**
     * 入驻商户权限id
     */
    public static final String SHOPKEEPER_ROLES_ID = "shopkeeper_roles_id";
}
